import request from '@/utils/request'

export function getAll() {
  return request({
    url: '/recordApi/dict/all/',
    method: 'get'
  })
}

export function getDisease(diseaseName) {
  return request({
    url: '/api/dict/disease',
    method: 'get',
    params: {
      diseaseName
    }
  })
}